<filedel> : Delete File
This command deletes specified file(s).
Syntax:
<filedel>("File", SubDir, Reserved)
File
Full path to the file to delete (e.g., "c:\mydocuments\original.doc"). The
file path can contain wildcard characters (*?). In such the case all the files
matching the pattern are deleted.
SubDir
Takes effect only if the File contains wildcard characters. If 1,
files from all the sub directories are deleted as well (if matching the
pattern). If 0, files from sub directories are not deleted.
Reserved
Must be 0.
Example:
<#> This macro deletes the file you select
<#>
<cmds>
<var_oper>(vFile,"",SELECT_FILE,"Select File","", "0")
<if_str>("_vCanceled==1") <exitmacro>
<endif>
<filedel>("vFile",0,0)